home *** CD-ROM | disk | FTP | other *** search
- head 1.4;
- branch ;
- access ;
- symbols ;
- locks ediger:1.4;
- comment @@;
-
-
- 1.4
- date 94.05.10.22.41.50; author ediger; state Exp;
- branches ;
- next 1.3;
-
- 1.3
- date 94.01.30.21.29.19; author ediger; state Exp;
- branches ;
- next 1.2;
-
- 1.2
- date 94.01.30.16.29.31; author ediger; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 93.12.30.19.02.31; author ediger; state Exp;
- branches ;
- next ;
-
-
- desc
- @Display PostScript wraps
- @
-
-
- 1.4
- log
- @drawing a zooming box
- @
- text
- @
- defineps drawLabel(float x1, y1; char *address; float x2, y2)
- %% $Id: MachOViewwraps.psw,v 1.3 94/01/30 21:29:19 ediger Exp Locker: ediger $
- %% font manipulation
-
- 0.0 setgray
- x1 y1 moveto
- (address) show
- 2. 0. rmoveto
- x2 y2 lineto
-
- endps
-
- defineps drawLeftArrowHead(float x1, y1, side)
- %% draw an arrowhead pointing left at (x1, y1)
- 0.0 setgray
- newpath
- x1 y1 moveto
- 0.866 side mul
- 0.0 side 2.1 div sub rlineto
- 0.0 side rlineto
- x1 y1 lineto
- stroke
- endps
-
- defineps drawBox(float x1, y1, x2, y2)
- %% draw a box with (x1, y1) and (x2, y2) as diagonally opposed corners
- 0.0 setgray
- 0.10 setlinewidth
- newpath
- x1 y1 moveto
- x1 y2 lineto
- x2 y2 lineto
- x2 y1 lineto
- x1 y1 lineto
- stroke
- endps
- @
-
-
- 1.3
- log
- @removed doFont ps def: using Font object instead
- @
- text
- @d3 1
- a3 1
- %% $Id: MachOViewwraps.psw,v 1.2 94/01/30 16:29:31 ediger Exp Locker: ediger $
- d6 1
- d16 1
- d22 13
- @
-
-
- 1.2
- log
- @added drawLeftArrowHead function def
- @
- text
- @a0 5
- defineps doFont(float points)
- %% $Id: MachOViewwraps.psw,v 1.1 93/12/30 19:02:31 ediger Exp Locker: ediger $
- %% font manipulation
- /Courier findfont points scalefont setfont
- endps
- d3 2
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @a0 1
- %% $Id$
- d2 1
- d16 10
- @
-